package cn.yzfy.common.model.entity;

import cn.yzfy.common.base.entity.AbstractBaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serial;

/**
 * @author 一朝风月
 * @date 2025/9/11 17:52
 * @Code 面向注解面向卿，终无解释再无你
 * @description
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("web_notice")
public class NoticeEntity extends AbstractBaseEntity {

    @Serial
    private static final long serialVersionUID = 7871074149572005655L;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 帖子ID
     */
    private Long postId;

    /**
     * 标题
     */
    private String title;

    /**
     * 头像URL
     */
    private String avatarUrl;

    /**
     * 内容
     */
    private String content;

    /**
     * 备注
     */
    private String remark;

    /**
     * 删除标记
     */
    private Byte deleted;
}